const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    publicPath: './',
    outputDir: 'dist',
    assetsDir: 'static',
    transpileDependencies: true,
    chainWebpack: config => {
        config.plugin('define').tap(definitions => {
            Object.assign(definitions[0]['process.env'], {
                NODE_HOST: '"http://47.113.178.40:9999"',
            });
            return definitions;
        });
    }
})
